type NodeArray = [Node]

const nodeList: NodeListOf<Element> = document.querySelectorAll('ul li')
const list: NodeArray = [].slice.call(nodeList)

list[0].addEventListener('click', (e: PointerEvent) => {
  console.log(e.target.style.left);
})
